package cn.felord.debezium.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备连接信息对象 tb_equipment_connect_info
 *
 * @author bysen
 * @date 2025-01-17
 */
public class EquipmentConnectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备类型 */
    // @Excel(name = "设备类型")
    private String equipType;

    /** 设备地址 */
    // @Excel(name = "设备地址")
    private String equipNum;

    /** 设备编号 */
    // @Excel(name = "设备编号")
    private String equipCode;

    /** ip地址 */
    // @Excel(name = "ip地址")
    private String ip;

    /** 备用1 */
    // @Excel(name = "备用1")
    private String lable1;

    /** 备用2 */
    // @Excel(name = "备用2")
    private String lable2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEquipType(String equipType)
    {
        this.equipType = equipType;
    }

    public String getEquipType()
    {
        return equipType;
    }
    public void setEquipNum(String equipNum)
    {
        this.equipNum = equipNum;
    }

    public String getEquipNum()
    {
        return equipNum;
    }
    public void setEquipCode(String equipCode)
    {
        this.equipCode = equipCode;
    }

    public String getEquipCode()
    {
        return equipCode;
    }
    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public String getIp()
    {
        return ip;
    }
    public void setLable1(String lable1)
    {
        this.lable1 = lable1;
    }

    public String getLable1()
    {
        return lable1;
    }
    public void setLable2(String lable2)
    {
        this.lable2 = lable2;
    }

    public String getLable2()
    {
        return lable2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipType", getEquipType())
            .append("equipNum", getEquipNum())
            .append("equipCode", getEquipCode())
            .append("ip", getIp())
            .append("remark", getRemark())
            .append("lable1", getLable1())
            .append("lable2", getLable2())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
